package server.tool;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import server.tool.idProduce.SnowFlakeWorker;


/**
 * 创建人:    xvzhe
 * 创建时间:
 * 修改时间:
 * 版本:      v1.0
 */
@Data
@ApiModel("全局存储器")
public class Store {
    private static Store instance = new Store();

    public static Store getInstance() {
        return instance;
    }
    @ApiModelProperty("数字id生成器")
    private SnowFlakeWorker snowFlakeWorker;
}
